package org.millioncall.yueyoga.admin.model.base;

import java.util.Date;

import org.millioncall.yueyoga.admin.model.Member;
import org.millioncall.yueyoga.admin.model.Product;

public class BaseProductRemaining implements java.io.Serializable {
	private static final long serialVersionUID = 495807615943380444L;
	private int id;
	private Member member;
	private Product product;
	private int counts;
	private Date beginTime;
	private Date endTime;


	public BaseProductRemaining() {
		
	}
	
	public BaseProductRemaining(Integer id,Member member, Product product, Integer counts,Date beginTime,Date endTime){
		this.id = id;
		this.member = member;
		this.product = product;
		this.counts = counts;
		this.beginTime = beginTime;
		this.endTime = endTime;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public int getCounts() {
		return counts;
	}

	public void setCounts(int counts) {
		this.counts = counts;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

}